package com.lbs.jiepiaisi.bean;

import java.io.Serializable;
import java.util.List;

/**
 *
 * 时间：2017/11/13 16:07
 * 作用：违章查询结果
 */

public class WeiZhangEntity implements Serializable{
    private int status;
    //当前车牌号
    private String hphm;
    //当前号牌类型
    private String hpzl;
    //违章信息列表
    private List<WeiZhangEntity.Lists.Item> lists;
    //错误信息
    private String message;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getHphm() {
        return hphm;
    }

    public void setHphm(String hphm) {
        this.hphm = hphm;
    }


    public List<WeiZhangEntity.Lists.Item> getLists() {
        return lists;
    }

    public void setLists(List<Lists.Item> lists) {
        this.lists = lists;
    }

    public  static  class Lists implements Serializable{
        //对应的总items信息(JSONArrary)
        private List<Item> items;

        public List<Item> getItems() {
            return items;
        }

        public void setItems(List<Item> items) {
            this.items = items;
        }

        public static class Item implements Serializable{


            //违章时间
            private String date;
            //违章内容
            private String act;
            //违章位置
            private String area;
            //罚款
            private String money;
            //扣分
            private String fen;
            //处理状态
            private String handled;

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getHandled() {
                return handled;
            }

            public void setHandled(String handled) {
                this.handled = handled;
            }

            public String getFen() {
                return fen;
            }

            public void setFen(String fen) {
                this.fen = fen;
            }

            public String getMoney() {
                return money;
            }

            public void setMoney(String money) {
                this.money = money;
            }

            public String getArea() {
                return area;
            }

            public void setArea(String area) {
                this.area = area;
            }

            public String getAct() {
                return act;
            }

            public void setAct(String act) {
                this.act = act;
            }

            @Override
            public String toString() {
                return "Item{" +
                        "date='" + date + '\'' +
                        ", act='" + act + '\'' +
                        ", area='" + area + '\'' +
                        ", money='" + money + '\'' +
                        ", fen='" + fen + '\'' +
                        ", handled='" + handled + '\'' +
                        '}';
            }
        }
    }

    public String getHpzl() {
        return hpzl;
    }

    public void setHpzl(String hpzl) {
        this.hpzl = hpzl;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "WeiZhangEntity{" +
                "hphm='" + hphm + '\'' +
                ", hpzl='" + hpzl + '\'' +
                ", lists=" + lists +
                '}';
    }
}
